package com.example.sprinbootdemo.service;


import com.example.sprinbootdemo.entity.AvailableCar;
import com.example.sprinbootdemo.entity.Car;
import com.example.sprinbootdemo.entity.RentCount;

import java.util.List;

public interface CarService {
    List<Car> getAllCars();
    void addCar(Car car);
    void deleteCarByCarNumber(int carNumber);
    void updateCarByCarNumber(Car car);
    Car getCarByCarNumber(int carNumber);
    List<AvailableCar> getAvailableCars();
    List<AvailableCar> getAvailableCarsByModelName(String modelName);
    List<RentCount> getRentCount();
}
